/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.dao.impl.common;

import java.io.Serializable;

import com.sigmatrix.h5.exception.DaoException;


/**
 *@ClassName: BaseDao
 *@Description: 基础DAO
 *@author youjun
 *@date 2017年7月13日 上午11:43:11
 */
public interface BaseDao<T extends Serializable> {
	
	/**
	 *@Title: saveReturnKey
	 *@Description: 保存信息返回自增主键
	 *@return Long
	 *@date 2017年9月28日 下午5:49:50
	 *@param sql
	 *@param params
	 *@throws DaoException
	 */
	Long saveReturnKey(final String sql,final Object[] params) throws DaoException;

}
